function debug(chroms)
global  operation_time operation_machine num_op;
sizepop=size(chroms,1);
total_op_num=sum(num_op);
for i=1:sizepop
    chrom=chroms(i,:);
    for j=1:total_op_num
        mm=chrom(total_op_num+j);%几号机器
        jj=chrom(j);%工序
        if isempty(find(chrom(1:j)))
            break;
        end
        c=find(operation_machine{jj}{length(find(chrom(1:j)==jj))}==mm);
        if isempty(c) 
            disp('非空debug出错啦！'),disp(jj);
            z=1;
        end
        if chrom(total_op_num*2+j)~=operation_time{jj}{length(find(chrom(1:j)==jj))}(c)
            disp('匹配debug出错啦！'),disp(jj);
            z=1;
        end
    end
end
end